
public class P6 {
	public static void main(String[] args) {
		int n = 100;
		int x = 0;
		
		for (int i = 1; i <= n; i++) {
			x += i;
		}
		
		x *= x;
		
		for (int i = 1; i <= n; i++) {
			x -= i*i;
		}
		
		System.out.println(x);
	}
}
